package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;
import com.ibm.icu.impl.BOCU;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.Date;

@TableMeta(name = "VC_PRODUCT_APPLY", title = "商品申请")
public class VCProductApply {

    @FieldMeta(name = "APPLYID", title = "申请编号", length = 32, primary = true)
    private String applyId;

    @FieldMeta(name = "WAREID", title = "商品编号", length = 64)
    private String wareId;

    @FieldMeta(name = "NAME", title = "名称", length = 128)
    private String name;

    @FieldMeta(name = "SUBMIT_TIME", title = "提交时间", length = 20)
    private String submitTime;

    @FieldMeta(name = "STATE", title = "状态")
    private Integer state;

    @FieldMeta(name = "REJECT", title = "驳回")
    private Boolean reject;

    @FieldMeta(name = "ZT", title = "是否有效")
    private Integer zt;

    @FieldMeta(name = "PRICEEXPORT", title = "价格表导出", length = 8)
    private String priceexport;

    @FieldMeta(name = "PRICEEXPORTTIME", title = "价格表导出时间")
    private Date priceexporttime;

    @FieldMeta(name = "OPINION", title = "审核建议", length = 1024)
    private String opinion;

    @FieldMeta(name = "VENDOR", title = "商家编码", length = 50)
    private String vendor;

    @FieldMeta(name = "APPROVETIME", title = "审核时间")
    private Date approvetime;

    @FieldMeta(name = "RESET", title = "重新上架", length = 8)
    private String reset;

    @FieldMeta(name = "RESETTIME", title = "重新上架时间")
    private Date resetTime;

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getWareId() {
        return wareId;
    }

    public void setWareId(String wareId) {
        this.wareId = wareId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getReject() {
        return reject;
    }

    public void setReject(Boolean reject) {
        this.reject = reject;
    }

    public Integer getZt() {
        return zt;
    }

    public void setZt(Integer zt) {
        this.zt = zt;
    }

    public String getPriceexport() {
        return priceexport;
    }

    public void setPriceexport(String priceexport) {
        this.priceexport = priceexport;
    }

    public Date getPriceexporttime() {
        return priceexporttime;
    }

    public void setPriceexporttime(Date priceexporttime) {
        this.priceexporttime = priceexporttime;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public Date getApprovetime() {
        return approvetime;
    }

    public void setApprovetime(Date approvetime) {
        this.approvetime = approvetime;
    }

    public String getReset() {
        return reset;
    }

    public void setReset(String reset) {
        this.reset = reset;
    }

    public Date getResetTime() {
        return resetTime;
    }

    public void setResetTime(Date resetTime) {
        this.resetTime = resetTime;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCProductApply.class);
    }
}
